import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
const store = new Vuex.Store({  
    state: {  
        loading: false,
    },  
    mutations: { 
		// 是否显示加载蒙层
        setLoading(state,loading){
			state.loading=loading
		}  
    }  
})
export default store